<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
try{
	if(null==request.getSession().getAttribute("userInfo")){
	    out.print("<script>window.location.href='../web/login/login.jsp'</script>");
	}
}catch(Exception e)
{
    out.print("<script>window.location.href='../web/login/login.jsp'</script>");
}
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="<%=basePath%>scripts/jquery-1.4.2.js">	</script>
<script type="text/javascript" src="<%=basePath%>scripts/cookie.js"></script>
<title>求诊信息</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #FDFDFD;
}
img { border:0}
p {
	margin: 0px;
	padding: 0px;
}
form,input,td,th{ 
border:medium none;
margin: 0;
padding: 0;
} 
ul,li {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}
input {
	border:0;
	padding:0
}
.logset {
	background-image: url(<%=basePath%>web/resources/images/index-search_02.jpg);
	background-repeat: repeat-x;
	height: 32px;
	width: auto;
	line-height: 32px;
}
.logset a {
	font-size: 13px;
	color: #3399cc;
	display: inline-block;
	float: right;
	margin-right: 30px;
}
.content {
	background-image: url(<%=basePath%>web/resources/images/findCipher_04.png);
	height: 111px;
	background-color: #F9F9F9;
	padding-top: 0px;
	background-repeat: repeat-x;
	padding-left: 30px;
}
.content #search {
	width: 784px;
	height: 41px;
	overflow: hidden;
}
.s_t_wr{
	width:634px;
	height:41px;
	margin-right:8px;
	background-image: url(<%=basePath%>web/resources/images/search-list_06.gif);
	background-repeat: no-repeat;
	float: left;
	padding: 0px;
	background-position: left top;
}
.s_t{
	width:595px;
	height:35px;
	outline:none;
	-webkit-appearance:none;
	font-family: "宋体";
	font-size: 14px;
	line-height: 35px;
	margin-top: 0px;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 34px;
	background-image: url(<%=basePath%>web/resources/images/search-list_06-bg.gif);
	color: #999;
	background-repeat: repeat-x;
	background-position: left 0px;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	padding-top: 5px;
	padding-right: 0px;
	padding-bottom: 5px;
	padding-left: 0px;
}
.s_btn_wr{
	width:142px;
	height:41px;
*position:relative;				z-index:0;
	background-image: url(<%=basePath%>web/resources/images/search-list_08.gif);
	background-repeat: no-repeat;
	float: left;
}
.s_btn{
	width:142px;
	height:41px;
	font-size:0px;
	cursor:pointer;
	background-color: #ddd;
	background-image: url(<%=basePath%>web/resources/images/search-list_08.gif);
	text-decoration: none;
	color: #E4E4E4;
}
.content .but123 {
	float: right;
	display: block;
	height: 41px;
	width: 441px;
	margin-top: 68px;
}
.content .but123 a {
	float: left;
	font-size: 14px;
	color: #3399cc;
	font-weight: bold;
	font-family: "宋体";
	line-height: 41px;
	height: 41px;
	display: inline-block;
	width: 100px;
	text-align: left;
	padding-left: 47px;
	text-decoration: none;
}
.content .but123 .but1 {
	background-image: url(<%=basePath%>web/resources/images/search-list_10.gif);
	background-repeat: no-repeat;
	background-position: left top;
}
.content .but123 .but2 {
	background-image: url(<%=basePath%>web/resources/images/search-list_12.gif);
	background-repeat: no-repeat;
	background-position: left top;
}
.content .but123 .but3 {
	background-image: url(<%=basePath%>web/resources/images/search-list_14.gif);
	background-repeat: no-repeat;
	background-position: left top;
}
.foot {
	background-image: url(<%=basePath%>web/resources/images/index-search_25.jpg);
	background-repeat: repeat-x;
	background-position: center top;
	height: 150px;
	background-color: #F9F9F9;
	text-align: center;
	padding-top: 39px;
	line-height: 24px;
	font-size: 13px;
	color: #999;
}
.foot p a {
	color: #999;
}

-->


</style>
<script>

function settab_zzjsnet(name,cursel,n){
 for(i=1;i<=n;i++){
  var menu=document.getElementById(name+i);
  var zzjs=document.getElementById("zzjs_"+name+"_"+i);
  menu.className=i==cursel?"hover":"";
  zzjs.style.display=i==cursel?"block":"none";
 }
}

function onDelete(id){
	if (confirm("确定删除吗?"))
	window.location.href='deleteQuestion.action?id='+id
}
</script>
<link href="<%=basePath%>web/resources/css/huiyuan1.css" rel="stylesheet" type="text/css" />
</head>

<body>
<jsp:include page="../top.jsp"></jsp:include>
<form>

<div class="hy-wr" align="center">
<div id="lib_zzjs_1"><img src="<%=basePath%>web/resources/images/huiyuan_03.jpg" width="5" height="44" style=" float:left"/>
<div class="lib_menu_zzjsnet ">
<ul>
   <li id="zzjs_11" onclick="settab_zzjsnet('zzjs_1',1,6)"><a href="<%=basePath%>user/memberInfo.action">会员信息管理</a></li>
   <li id="zzjs_12" onclick="settab_zzjsnet('zzjs_1',2,6)" class="hover"><a href="#"><font color="#000">发布求诊信息</font></a></li>
   <li id="zzjs_13" onclick="settab_zzjsnet('zzjs_1',3,6)"><a href="<%=basePath%>tiCase/searchMemberCase.action">我的病历</a></li>
   <li id="zzjs_14" onclick="settab_zzjsnet('zzjs_1',4,6)"><a href="<%=basePath%>stage/dyHelp.action">导医信息</a></li>
   <li id="zzjs_15" onclick="settab_zzjsnet('zzjs_1',5,6)"><a href="<%=basePath%>web/mem/passwordModify.jsp">修改密码</a></li>
   <li id="zzjs_16" onclick="settab_zzjsnet('zzjs_1',6,6)"><a href="javascript:zhuxiao();">安全注销</a></li>
</ul>
</div><img src="<%=basePath%>web/resources/images/huiyuan_08.jpg" width="5" height="44" style="float:left"/>
</div>
 
<div class="lib_Contentbox_zzjs">
<div id="zzjs_zzjs_1_1" style="display:none"></div>
<div id="zzjs_zzjs_1_2"><div class="qiehuan"><ul><li><a href="<%=basePath%>question/editQuestion.action?flag=2">发布新信息</a></li><li><a href="#">已发布信息</a></li></ul></div>
  <div class="cont">
    <div class="table1"><table width="762" border="0" cellspacing="1" cellpadding="0">
  <tr>
    <td width="115" height="31" align="center" background="<%=basePath%>web/resources/images/qiuzhen_03.jpg"><strong>序&nbsp;&nbsp;号</strong></td>
    <td width="319" align="center" background="<%=basePath%>web/resources/images/qiuzhen_03.jpg"><strong>标&nbsp;&nbsp;题</strong></td>
    <td width="176" align="center" background="<%=basePath%>web/resources/images/qiuzhen_03.jpg"><strong>发布时间</strong></td>
    <td width="147" align="center" background="<%=basePath%>web/resources/images/qiuzhen_03.jpg"><strong>状&nbsp;&nbsp;态</strong></td>
    <td width="147" align="center" background="<%=basePath%>web/resources/images/qiuzhen_03.jpg"><strong>操&nbsp;&nbsp;作</strong></td>
  </tr>
  <s:iterator value="tiQuestionList" status="qu">
   <tr>
    <td height="31" align="center" bgcolor="#f4f4f4"><s:property value="#qu.index+1"/></td>
    <td align="center" bgcolor="#f4f4f4"><s:property value="title"/></td>
    <td align="center" bgcolor="#f4f4f4"><s:date name="createTime" format="yyyy-MM-dd HH:mm:ss"/></td>
    <td align="center" bgcolor="#f4f4f4"><s:if test='isReply==2||isReply==3'>未回复</s:if><s:if test='isReply==1'>已回复</s:if></td>
    <td width="147" align="center" background="<%=basePath%>web/resources/images/qiuzhen_03.jpg"><a href="<%=basePath%>question/editQuestion.action?flag=1&id=<s:property value="id"/>">查看</a>&nbsp;&nbsp;
     <s:if test="isReply==2">
    <a href="<%=basePath%>question/editQuestion.action?flag=2&id=<s:property value="id"/>">修改</a>&nbsp;&nbsp;
    </s:if>
    <a href="#" onclick="onDelete('<s:property value="id"/>')">删除</a></td>
  </tr>
  </s:iterator>
</table>
</div></div></div>
<div id="zzjs_zzjs_1_3"></div>
<div id="zzjs_zzjs_1_4"></div>
<div id="zzjs_zzjs_1_5"></div>
<div id="zzjs_zzjs_1_6"></div>
</div>
<div class="lib-contentbox-zzjsbot"></div>
</div>
<div class="sear3but"><span><strong>快捷导航：</strong></span><a href="<%=basePath %>stage/showHosAll.action">医院检索大全</a> <a href="<%=basePath %>stage/toCase.action">病历填写帮助</a> <a href="<%=basePath %>stage/toDy.action">导医服务</a></div>

<div class="foot">
<p>
					<a onclick="this.style.behavior='url(#default#homepage)';this.setHomePage(window.location.href);" href="javascript:;">把网站设为主页</a> &nbsp;&nbsp;&nbsp;
					<a href="javascript:window.external.addFavorite(window.location.href,'医生在线');">把网站添加到收藏夹</a>
				</p>
				<p>
					<a href="<%=basePath%>aboutus/show.action?id=1">关于我们</a> |
					<a href="<%=basePath%>aboutus/show.action?id=1">About US</a>
				</p>
				<p>
					<a href="#">&copy;2012 备案号：京ICP证xxxxxxx号</a>
				</p>
</div>
</form>
</body>
</html>
